package com.lesama.stringbuilder;

public class StringBuilderDemo3 {
    public static void main(String[] args) {
        StringBuilder sb = new StringBuilder();
        sb.append("ts").append("rk").append("jiejie");
        System.out.println(sb);
        System.out.println(sb.reverse());
        System.out.println((sb.reverse().length()));
        String s = sb.toString();
        String[] is = s.split("i");
        for (int i = 0; i < is.length; i++) {
            System.out.println(is[i]);
        }
    }
}
